package cn.wolfcode.luowowo.search.service;


import cn.wolfcode.luowowo.search.domain.StrategyTemplate;
import cn.wolfcode.luowowo.search.domain.UserInfoTemplate;
import cn.wolfcode.luowowo.search.qo.IndexSearchQo;
import cn.wolfcode.luowowo.search.qo.StrategySearchQo;
import cn.wolfcode.luowowo.search.vo.SearchStaticsVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IStrategyTemplateService {

    void save(StrategyTemplate template);

    List<Map<String,Object>> getTop10ThemeList();

    List<SearchStaticsVo> getListByEs(String provinceId, String provinceName);

    Page queryByDifferentType(StrategySearchQo qo);

    Page queryWithHighlight(IndexSearchQo qo);
}
